SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

CREATE PROCEDURE dbo.DnnProduct_GetEventMessages
	
	@EventName nvarchar(100)

AS
	SELECT * 
	FROM dbo.DnnProduct_EventQueue
	WHERE EventName = @EventName
		AND IsComplete = 0
	ORDER BY SentDate
GO
